package com.zd.mapper;

import com.zd.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author TSP
 * @since 2021-08-27
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据用户名获取用户
     *
     * @return
     */
    User getUserByUserName(String username);
}
